home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14915 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  762 b 

  1. Path: vu-vlsi.ee.vill.edu!senthil
  2. From: Senthilvel Rangaswamy <senthil@ece.vill.edu>
  3. Newsgroups: comp.lang.c++
  4. Subject: Destructors in Inheritance
  5. Date: Tue, 2 Apr 1996 13:29:56 -0500
  6. Organization: Villanova University
  7. Message-ID: <Pine.SOL.3.91.960402132752.10414A-100000@vu-vlsi.ee.vill.edu>
  8. NNTP-Posting-Host: vu-vlsi.ee.vill.edu
  9. Mime-Version: 1.0
  10. Content-Type: TEXT/PLAIN; charset=US-ASCII
  11. X-Sender: senthil@vu-vlsi.ee.vill.edu
  12.  
  13.  
  14. Hi Folks,
  15.  
  16. I have a base class which has a destructor function in it.
  17. I derive a class from this base class. If I don't write
  18. any destructor for the derived class, will the destructor
  19. of the base class will be called when the derived class
  20. objects goes out of scope.
  21.  
  22. Thanks,
  23.  
  24.   ..Senthil
  25.   " .signature is Under Construction"
  26.  
  27.